package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.PlatOrganizationDepartmentes;

import java.util.List;

/**
 * <p>
 * 租户机构部门 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-27
 */
public interface PlatOrganizationDepartmentesService extends IService<PlatOrganizationDepartmentes> {
    IPage<PlatOrganizationDepartmentes> getPage(IPage<PlatOrganizationDepartmentes> page, QueryWrapper<PlatOrganizationDepartmentes> queryWrapper, String key);

    PlatOrganizationDepartmentes getById(Long id);

    String insert(PlatOrganizationDepartmentes entity);

    boolean updateById(PlatOrganizationDepartmentes entity);

    boolean deleteById(Long id);

    List<PlatOrganizationDepartmentes> getByIds(List<Long> ids,String key);
}
